package com.mytools.thirparty.jenkins.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "jenkins")
public class JenkinsConfig {

    private String url = "http://jenkins.yutang1314.fun:9000";

    private String username = "ytt";

    private String token = "11e5ae9ba2d10bdcba922eb56ae9ef145c";
}
